package com.example.demo.mapper;

import com.example.demo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 你爸爸
* @description 针对表【user(用户表)】的数据库操作Mapper
* @createDate 2023-12-19 17:07:20
* @Entity com.example.demo.entity.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    User findByUsername(String username);

    User getAllByUserId(Integer userid);
}




